<template>
  <div class="couponPage-content">
    <div class="couponPage-logo">
      <NuxtImg src="/images/activity/coupon/couponPage_1.png" alt="" />
    </div>
    <div class="couponPage-coupon-Box">
      <div class="title">{{ lang.title }}</div>
      <div class="couponPage-input">
        <input type="text" class="input" :placeholder="lang.placeholder" />
      </div>
      <p>{{ lang.paste_hint }}</p>
      <div class="btn">{{ lang.redeem }}</div>
    </div>
    <div class="couponPage-message-box">
      <div class="top">
        <NuxtImg src="/images/activity/coupon/couponPage_2.png" alt="" />
        <p>{{ lang.follow_and_get }}</p>
      </div>
      <div class="btn">
        <NuxtImg src="/images/activity/coupon/couponPage_3.svg" alt="" />
        {{ lang.telegram }}
      </div>
    </div>
    <div class="desc">
      <div class="desc-title">
        <span class="title">{{ lang.desc_title }}</span>
      </div>
      <div class="desc-list">
        <p class="desc-item">{{ lang.desc_1 }}</p>
        <p class="desc-item">{{ lang.desc_2 }}</p>
        <p class="desc-item">{{ lang.desc_3 }}</p>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
const lang: any = getCurrentPageLang("activity/coupon");
</script>

<style scoped lang="scss">
.couponPage-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #fff;
}
.couponPage-content .couponPage-logo img {
  width: 100%;
  height: 3rem;
}
.couponPage-content .couponPage-coupon-Box {
  position: relative;
  width: 100%;
  background: var(--theme-color4);
  padding: 0.5rem 0.3rem 0.57rem;
  font-weight: 700;
  font-size: 0.32rem;
  border-radius: 0.3rem;
}
.couponPage-content .couponPage-coupon-Box .title {
  margin-bottom: 0.4rem;
  font-size: 0.38rem;
}
.couponPage-content .couponPage-coupon-Box .couponPage-input {
  height: 1.2rem;
  background: var(--theme-color9);
  border-radius: 0.2rem;
  border: 0.03rem solid var(--theme-color8);
  width: 100%;
  position: relative;
}
.couponPage-content .couponPage-coupon-Box .couponPage-input .input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  color: var(--theme-neutral1);
  background: var(--theme-color9);
  border-radius: 0.44rem;
  font-weight: 700;
  padding-left: 0.3rem;
  font-size: var(--font-title2);
}
.couponPage-content .couponPage-coupon-Box > p {
  margin-top: 0.29rem;
  padding-left: 0.02rem;
  color: var(--theme-neutral2);
}
.btn {
  margin-top: 0.45rem;
  height: 1.2rem;
  background: linear-gradient(
    270deg,
    var(--theme-main-gradient2) 0%,
    var(--theme-main-gradient1) 100%
  );
  border-radius: 0.3rem;
  font-weight: 700;
  font-size: var(--font-title);
  color: var(--theme-neutral1);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.couponPage-content .couponPage-message-box {
  margin-top: 0.3rem;
  width: 100%;
  background: var(--theme-color4);
  padding: 0.5rem 0.3rem;
  font-weight: 700;
  font-size: 0.32rem;
  border-radius: 0.3rem;
}
.couponPage-content .couponPage-message-box .top {
  padding-left: 0.16rem;
  display: flex;
  align-items: center;
}
.couponPage-content .couponPage-message-box .top img {
  width: 0.8rem;
  height: 0.8rem;
  margin-right: 0.3rem;
}
.couponPage-content .couponPage-message-box .top > p {
  font-weight: 700;
  font-size: 0.38rem;
  color: var(--theme-neutral1);
}
.btn img {
  width: 0.61rem;
  height: 0.52rem;
  margin-right: 0.3rem;
}
.desc {
  font-weight: 400;
  font-size: 0.35rem;
  margin-top: 0.5rem;
  box-sizing: border-box;
  padding-bottom: 1rem;
}
.desc .desc-title {
  display: flex;
  align-items: center;
  font-family: Arial;
}
.desc .desc-title .title {
  color: var(--theme-neutral1);
  font-size: 0.44rem;
}
.desc .desc-list {
  font-size: 0.34rem;
  color: var(--theme-neutral2);
}
.desc .desc-list .desc-item {
  margin-top: 0.2rem;
  text-indent: -1em;
  padding-left: 1em;
}
</style>
